@import "@styles/theme.scss";

.address {
  position: relative;
  overflow: hidden;
  height: 100%;
  width: 100%;
  background: #f4f4f4;
}

.address__wrap {
  padding-bottom: 100px;
}

.address__empty {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  &-img {
    width: 260px;
    height: 260px;
  }

  &-txt {
    width: auto;
    font-size: $font-size-base;
    line-height: 35px;
    color: $text-color-lighter;
  }
}

.address__list {
  padding-left: $spacing-h-lg;
  background: #ffffff;
  background-size: auto 10.5px;
  margin-bottom: 90px;

  &-item {
    height: 156.55px;
    align-items: center;
    display: flex;
    border-bottom: 1px solid $border-color;
  }

  &-l {
    width: 125px;
    height: 82px;
    overflow: hidden;
  }

  &-name {
    width: 125px;
    height: 43px;
    font-size: $font-size-base;
    color: #333;
    margin-bottom: 5.2px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }

  &-default {
    width: 62.5px;
    height: 33px;
    line-height: 28px;
    text-align: center;
    font-size: 20px;
    color: $color-brand-dark;
    border: 1px solid $color-brand-dark;
    visibility: visible;
  }

  &-c {
     flex: 1;
     height: auto;
     overflow: hidden;
   }

  &-mobile {
    height: 29px;
    font-size: $font-size-base;
    line-height: 29px;
    overflow: hidden;
    color: #333;
    margin-bottom: 6.25px;
  }

  &-address {
    height: 37px;
    font-size: $font-size-base;
    line-height: 37px;
    overflow: hidden;
    color: #666;
  }

  &-r {
    width: 52px;
    height: auto;
    overflow: hidden;
    margin-right: 16.5px;
  }
}

.address-add-btn {
  position: fixed;
  border: none;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90%;
  height: 70px;
  border-radius: 50px;
  margin-left: 5%;
  margin-bottom: 10px;
  text-align: center;
  font-size: $font-size-base;
  font-weight: 600;
  color: #f4f4f4;
  letter-spacing: 5px;
  background: $color-brand-dark;
}
